
#ifndef __XiazaiCaiYangBan_H__
#define __XiazaiCaiYangBan_H__

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "includes.h"

/* USER CODE BEGIN Prototypes */






typedef struct
{
	uint32_t DownLdStep;
	uint32_t DownLdFramNum;
	uint32_t wenjiandaxiao;   
	uint16_t wenjianCRC;   
	uint8_t DownLdCYBNum;
	uint8_t  CYBDownFlag;   
	uint8_t  WaitTime;  
	uint8_t  SendCYBFlag;  
	uint8_t  BinBanben;  
	uint8_t  Data[1300];
} Downld_ST;

extern ringBuffer_t Uart1Buf;



extern Downld_ST	Downld_Data;
uint8_t xiazaicaiyang(uint32_t CYBZaiXianMask,uint32_t mstick);


void UART1RxDataPro( uint16_t data);



/* USER CODE END Prototypes */

#ifdef __cplusplus
}
#endif

#endif /* __USART_H__ */

/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
